﻿using AutoMapper;
using FreeSql.DataAnnotations;
using ManaMaple.DB.Entity;
using ManaMaple.Models.BaseModel;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Text;
using System.Xml.Linq;

namespace ManaMaple.Models.User.VM
{
    /// <summary>
    /// 用户信息表
    /// </summary>
    public class SysUserVM: BaseVM
    {
        /// <summary>
        /// 登陆名称
        /// </summary>
        public string Login_Name { get; set; } = string.Empty;
        /// <summary>
        /// 密码
        /// </summary>
        public string Password { get; set; } = string.Empty;
        /// <summary>
        /// 姓名
        /// </summary>
        public string Name { get; set; } = string.Empty;
        /// <summary>
        /// 邮箱
        /// </summary>
        public string Email { get; set; } = string.Empty;
        /// <summary>
        /// 电话
        /// </summary>
        public string Phone { get; set; } = string.Empty;
        /// <summary>
        /// 头像
        /// </summary>
        public string Avatar { get; set; } = string.Empty;
        /// <summary>
        /// 备注
        /// </summary>
        public string Remark { get; set; } = string.Empty;
        /// <summary>
        /// 部门
        /// </summary>
        public string Dept { get; set; } = string.Empty;
        /// <summary>
        /// 公司
        /// </summary>
        public string Company { get; set; } = string.Empty;
        /// <summary>
        /// 是否为管理人员 1 是 0 否
        /// </summary>
        public string Super { get; set; } = string.Empty;
        /// <summary>
        /// 最近一次的登录时间
        /// </summary>
        public DateTime? Last_Login_Time { get; set; } = null;
        /// <summary>
        /// 是否启用 1 启用 0禁用
        /// </summary>
        public int Is_Enable { get; set; } = 0;
    }
}
